import service from '@/utils/request'


//图标列表
export async function reqProgramList() {
    return service.get<any, any | object>('/dj/catelist')
}
//推荐节目
export async function reqProgram() {
    return service.get<any, any | object>('/program/recommend')
}
//节目排行榜
export async function reqProgramTop(limit?: number) {
    const query = limit ? `?limit=${limit}` : ''
    return service.get<any, any | object>('/dj/program/toplist' + query)
}

//rdimore电台
export async function reqRdimore() {
    return service.get<any, any | object>('/dj/category/recommend')
}